package cnhy.salary.cfg;

import ling.common.FieldInit;
import lombok.NoArgsConstructor;
import lombok.Value;
import org.springframework.stereotype.Service;

import java.lang.reflect.Field;

@Service("pay")
public class PayPowers extends FieldInit {
    public PayPowers(){
        PowerStrSet("pay",this,null);
    }
    /** 产线 权限列表 */
    public final static ProductionLinePower productionLine=new ProductionLinePower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class ProductionLinePower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }

    /** 考勤记录 权限列表 */
    public final static AttendanceRecordPower attendanceRecord=new AttendanceRecordPower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class AttendanceRecordPower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }

    /** 日工资 权限列表 */
    public final static DailyWagePower dailyWage=new DailyWagePower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class DailyWagePower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }
    /** 员工 权限列表 */
    public final static EmployeePower employee=new EmployeePower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class EmployeePower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }
    /** 请假记录 权限列表 */
    public final static LeaveRecordPower leaveRecord=new LeaveRecordPower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class LeaveRecordPower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }
    /** 月信息配置记录 权限列表 */
    public final static MonthlyCfgPower monthlyCfg=new MonthlyCfgPower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class MonthlyCfgPower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }
    /** 月工资 权限列表 */
    public final static MonthlyWagePower monthlyWage=new MonthlyWagePower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class MonthlyWagePower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
        String reset;
    }
    /** 产线产出记录 权限列表 */
    public final static OutputGroupPower outputGroup=new OutputGroupPower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class OutputGroupPower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }
    /** 产出记录 权限列表 */
    public final static OutputRecordPower outputRecord=new OutputRecordPower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class OutputRecordPower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }
    /** 加班记录 权限列表 */
    public final static OvertimeRecordPower overtimeRecord=new OvertimeRecordPower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class OvertimeRecordPower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }
    /** 岗位工资配置 权限列表 */
    public final static PostCfgPower postCfg=new PostCfgPower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class PostCfgPower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }
    /** 调换岗 权限列表 */
    public final static PostTransferPower postTransfer=new PostTransferPower();
    @Value
    @NoArgsConstructor(force = true)
    public static   class PostTransferPower {
        String list ;
        String export ;
        String query ;
        String add ;
        String edit ;
        String remove ;
    }
}
